import com.modestmaps.providers.*;
public enum MapType {
	Road(0) {
		@Override
		public AbstractMapProvider provider() {
			return new Microsoft.RoadProvider();
		}

		@Override
		public String label() {
			return "Road";
		}
	},
	Satillite(1) {
		@Override
		public AbstractMapProvider provider() {
			return new Microsoft.AerialProvider();
		}

		@Override
		public String label() {
			return "Satellite";
		}

	},
	Hybrid(2) {
		@Override
		public AbstractMapProvider provider() {
			return new Microsoft.HybridProvider();
		}

		@Override
		public String label() {
			return "Hybrid";
		}

	}	;
	private int value;

	public abstract AbstractMapProvider provider();

	public abstract String label();

	private MapType(int value) {

		this.value = value;

	}
}
